package com.guguskins.back.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @date 2021/6/16 17:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
public class ChangePasswordBo {

//    @NotEmpty(message = "邮箱或手机号不能为空")
    private String account;

    @NotEmpty(message = "验证码不能为空")
    private String code;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "密码不能为空")
    private String confirmPassword;
}
